5CE-cards - ecards.jpg

  E-cards

$value) { $_POST[$var] = stripslashes($value); } } if ($_POST["state"] == "send") { include($conf_includes_dir."include.php"); include($conf_includes_dir."mailer/file_put_contents.php"); include($conf_includes_dir."mailer/htmlMimeMail.php"); $html = show_ecard(); $text = strip_tags($html); /* * DISABLED FOR RMI * $from = "\"".$_POST["from_first"]." ".$_POST["from_last"]."\" <".$_POST["from_email"].">"; $to = "\"".$_POST["to_first"]." ".$_POST["to_last"]."\" <".$_POST["to_email"].">"; */ $from = $_POST["from_email"]; $to = $_POST["to_email"]; $mail = new htmlMimeMail(); $mail->setHtml($html, $text, $conf_modules_dir."cards/"); $mail->setFrom($from); $mail->setSubject($conf_ecards_subject); $result = $mail->send(array($to)); //Send mail to site owners with information from this ECard process_emails("marketing@petcheyleisure.com"); $mail_result = ($result) ? "E-card successfully sent!" : "There was some kind of problem sending your E-card.
Please verify the data or contact the webmaster."; echo "

$mail_result

"; echo show_ecard(); ?>
Recipient's email is invalid.\n"; } if ($ecards_error) { edit($ecards_error); } else { ?>

3. Below is the e-card you created.
To send it now, scroll down and click the "Send" button.

$value) { if ($var != "state") { echo "\t\n"; } } ?>
$value) { if ($var != "state") { echo "\t\n"; } } ?>

2. Below is your e-card selection.
Scroll down to write, address, and build this e-card.

" width="400" height="190">

Send postcard to:

" />
" />
" />

Your information

" />
" />
" />

" />

1. Click the image that you would like to send as an e-card.

Tarjeta 1 Tarjeta 2 Tarjeta 3
Tarjeta 4 Tarjeta 5 Tarjeta 6

$conf_modules_dir."cards/card".$_POST["card"].".jpg", "DATE"=>date("d F y"), "OASIS_IMG"=> $conf_modules_dir."cards/oasis.gif", "MESSAGE" => nl2br(strip_tags($_POST["message"])), "FROM" => $_POST["from_first"]." ".$_POST["from_last"], "MAIL" => $_POST["from_email"] ); return apply_template("cards/mail.html",$replacements,$conf_modules_dir); } ?>